﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Com
{
	/// <summary>
	/// Interaction logic for ucAirGlass2.xaml
	/// </summary>
	public partial class ucAirGlass2 : UserControl
	{
		public ucAirGlass2()
		{
			this.InitializeComponent();
		}

        private void cbxGlassEcofficient_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (cbxGlassEcofficient.SelectedIndex == 0)
            {
                ucSubCoefficient01 uc = new ucSubCoefficient01();
                dpContainer.Children.Add(uc);
            }
        }

        private void btnSave_Click(object sender, RoutedEventArgs e)
        {

        }

        private void btnCancel_Click(object sender, RoutedEventArgs e)
        {

        }

        private void btnNew_Click(object sender, RoutedEventArgs e)
        {

        }

        private void btnCopy_Click(object sender, RoutedEventArgs e)
        {

        }

        private void btnDelete_Click(object sender, RoutedEventArgs e)
        {

        }
	}
}